﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace DotNetUI.Controls
{

    public class DotNetComboBox : ComboBox
    {
        static DotNetComboBox()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(DotNetComboBox), new FrameworkPropertyMetadata(typeof(DotNetComboBox)));
        }
        public static readonly DependencyProperty PlaceHolderProperty = DependencyProperty.Register(nameof(PlaceHolder), typeof(object), typeof(DotNetComboBox));
        /// <summary>
        /// 默认放置内容
        /// </summary>
        public object PlaceHolder { get => GetValue(PlaceHolderProperty); set => SetValue(PlaceHolderProperty, value); }
    }
}
